/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MainPackage;

import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author n.kaminski
 */
@XmlRootElement
public class UserSport {
    
    private String Name;
    private int Dauer;
    private Date Datum;
    
    public UserSport(){
        Name = "";
        Dauer = 0;
        Datum = new Date();
    }
    
    public UserSport(String pName, int pDauer, Date pDatum){
        Name = pName;
        Dauer = pDauer;
        Datum = pDatum;
    }
    
    
    public String getName(){
        return this.Name;
    }
    public void setName(String pName){
        this.Name = pName;
    }
    
    public int getDauer(){
        return this.Dauer;
    }
    public void setDauer(int pDauer){
        this.Dauer = pDauer;
    }
    
    public Date getDatum(){
        return this.Datum;
    }
    public void setDatum(Date pDatum){
        this.Datum = pDatum;
    }
}
